home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _4A8F73263FE3473ABDEA8DF4F7928F4B < prev    next >
Encoding:
Text File  |  2006-08-04  |  767 b   |  27 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_LensDistortion():
  13.     return {
  14.         'DistortionType': App.Constants.DistortionType.Fisheye, 
  15.         'Strength': 25, 
  16.         'FieldOfView': 100, 
  17.         'HorizontalOffset': 0, 
  18.         'VerticalOffset': 400, 
  19.         'EdgeMode': App.Constants.EdgeMode.Background, 
  20.         'BackgroundColor': (0,0,0)
  21.         }
  22.  
  23. def Do(Environment):
  24.     # Lens Distortion
  25.     App.Do( Environment, 'LensDistortion',         Preset_LensDistortion())
  26.  
  27.